package com.xuebusi.common.hotload;

/**
 * 封装类加载信息
 * Created by SYJ on 2017/11/14.
 */
public class LoadInfo {

    //自定义类加载器
    private XClassLoader loader;

    //记录要加载的类的时间戳(加载的时间)
    private long loadTime;

    private BaseManager manager;

    public LoadInfo(XClassLoader loader, long loadTime) {
        this.loader = loader;
        this.loadTime = loadTime;
    }

    public XClassLoader getLoader() {
        return loader;
    }

    public void setLoader(XClassLoader loader) {
        this.loader = loader;
    }

    public long getLoadTime() {
        return loadTime;
    }

    public void setLoadTime(long loadTime) {
        this.loadTime = loadTime;
    }

    public BaseManager getManager() {
        return manager;
    }

    public void setManager(BaseManager manager) {
        this.manager = manager;
    }
}
